home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / fileutil / fhd210.zip / FH_EXEC.ARF < prev    next >
Text File  |  1996-02-05  |  14KB  |  295 lines

  1. :------------------------------------------------------------------------------:
  2. :                                   FH_EXEC                                    :
  3. :                                                                              :
  4. :                Associative Response File for File_Handle (tm)                :
  5. :                                                                              :
  6. : This file contains the parameters for File_Handle's built in Executer.   Use :
  7. : an editor to enter command's and wildcards for any file you want  a  command :
  8. : handle. Enter as many groups as you want, in any order (10 for Lite vers.).  :
  9. :                                                                              :
  10. : Several commands can serve the same wildcard;  File_Handle will ask  you  to :
  11. : resolve such collisions.  You can, for example, supply support for more than :
  12. : one text processor, handling the same files. Or use the same application, by :
  13. : using it's switches, for for different file types or results.                :
  14. :                                                                              :
  15. : Warning: Use an editor which can save a plain (pure ASCII) file, so there is :
  16. :          no special formatting information written into *THIS* file.         :
  17. :                                                                              :
  18. : Note   : When this file is edited through SetARF (Shift+Alt+F2), it is auto- :
  19. :          matically reinitted without restarting File_Handle.                 :
  20. :                                                                              :
  21. : Do not enter wildcards which mean the same  (i.e. *.BAT and ????????.BAT) in :
  22. : a single Connect statement.                                                  :
  23. :                                                                              :
  24. : File_Handle scans the groups in the following order:                         :
  25. :                                                                              :
  26. :        * 1 Rebuild, Show and Extract                                         :
  27. :          2 Internal table for EXE,COM,BAT and BTM files                      :
  28. :          3 Anything left is passed on to the Default Viewer (DefView below)  :
  29. :                                                                              :
  30. :        *   These groups are ALL scanned, in no particular order, so that a   :
  31. :            menu can be constructed if two or more wildcards collide.         :
  32. :                                                                              :
  33. : Example                                                                      :
  34. : -------  ------------------------------------------------------------------- :
  35. : Type   : [drive:][\path\]command[.exe|.com|.bat|.btm][switches]%%[switches]  :
  36. : MenuTxt: command_by_name (used when wildcards collide)                       :
  37. : Connect: *.ex1;*.ex2;ab?c*.ex3;*name.doc;...;*.exn                           :
  38. :                                                                              :
  39. :          Anything between '[...]' is optional, and '|' means 'or'.           :
  40. :                                                                              :
  41. :          Hint: A complete path speeds up the search for the application, but :
  42. :                makes it harder to relocate the application to another drive  :
  43. :                or subdirirectory.                                            :
  44. :                                                                              :
  45. : Type     Description                                                         :
  46. : -------  ------------------------------------------------------------------- :
  47. : Rebuild: This type is for applications which change the contents of a disk.  :
  48. :          Use it for editors, databases, drawing/CAD programs, etc.           :
  49. :                                                                              :
  50. : Show   : This type is for applications which never change the disk, use it   :
  51. :          for viewers, sound players, etc.                                    :
  52. :                                                                              :
  53. : Extract: Use this type for calling unarchivers. This type is also a Rebuild  :
  54. :          type. Use it for PKUNZIP, ARJ, LHA, etc.                            :
  55. :                                                                              :
  56. : DontRun: Special type to prevent loading of Terminate-and-Stay-Resident pro- :
  57. :          grams and device-drivers from within File_Handle.  This would cause :
  58. :          disaster when FH swaps back into memory, overwriting their code.    :
  59. :                                                                              :
  60. : -------  ------------------------------------------------------------------- :
  61. : MenuTxt: Width 25 characters. Alt+19 () forces highlight to other letter.   :
  62. :                                                                              :
  63. : Connect: Filenames and/or wildcards you want to connect to the command. No   :
  64. :          real limit on the width of this field. Break lines up with '+'.     :
  65. :                                                                              :
  66. :          Use something like "arfmenu.@@@" to force a certain program to the  :
  67. :          RunARF pop up menu. This string shouldn't match any file on your    :
  68. :          system!                                                             :
  69. :                                                                              :
  70. : Special  Description                                                         :
  71. : -------  ------------------------------------------------------------------- :
  72. : Version: File_Handle warns if the ARF-file is incompatible.    Look in the   :
  73. :          files READ_ME.1ST or FH_MANUA how to make the ARF compatible with   :
  74. :          current version.                                                    :
  75. :                                                                              :
  76. : DefEdit: Default Editor (Shift+Alt+F7) used to start an empty file, and for  :
  77. :          forcing an editor onto files with Edit (Shift+Ctrl+F7).             :
  78. :                                                                              :
  79. : DefView: Default viewer, used when nothing else applies to a file, and for   :
  80. :          forcing a viewer onto files with View (Shift+Ctrl+F8).              :
  81. :                                                                              :
  82. : %%     : Acts as a placeholder for the filename. This makes it possible to   :
  83. :          embed the filename in the application's switches.                   :
  84. :          e.g. "multview.exe -e %% -x -p                                      :
  85. :                                                                              :
  86. : +      : There is no width limit for Connect. However, you may continue a    :
  87. :          long Connect on the next line(s) by putting a '+' at the end of     :
  88. :          each break. There may also be spaces between them. Don't forget the :
  89. :          ';' separator, the '+' is no replacement for it!                    :
  90. :                                                                              :
  91. : ;      : Separate multiple wildcards by a semicolon.                         :
  92. :                                                                              :
  93. : :      : Lines starting with a colon ':' are comments - they don't take up   :
  94. :          any ram space!                                                      :
  95. :                                                                              :
  96. :------------------------------------------------------------------------------:
  97. : Limits : There are no real limits to the amount of groups or wildcards as    :
  98. :          long as the (discommented) file is smaller than approx. 60 kbytes.  :
  99. :                                                                              :
  100. :          P.S: LITE and the UNREGISTERED versions are limited to 10 links.    :
  101. :                                                                              :
  102. :                                Border for MenuTxt (don't use this position)  :
  103. :--------------------------------|---------------------------------------------:
  104.  
  105. Version: 1.00
  106.  
  107. :------------------------------------------------------------------------------:
  108. : File_Handle uses this for the forced Edit (Shift+Ctrl+F7) and for the noname :
  109. : Editor (Shift+Alt+F7). This group can only exist once.                       :
  110. :--------------------------------|---------------------------------------------:
  111.  
  112. DefEdit: c:\dos\edit %%
  113.  
  114.  
  115. :------------------------------------------------------------------------------:
  116. : File_Handle uses this viewer for files not supported in any other way, and   :
  117. : for the forced View (Shift+Ctrl+F8). This group can only exist once.         :
  118. :--------------------------------|---------------------------------------------:
  119.  
  120. DefView: c:\dos\edit %%
  121.  
  122.  
  123. :------------------------------------------------------------------------------:
  124. : Prevent known device drivers and TSR's from loading in File_Handle's shell   :
  125. :                                                                              :
  126. : Warning: This only works when executing with Enter or a double click on the  :
  127. :          filename. Shell and DosCmd don't check, so you can bypass this.     :
  128. :          Removal of this group lifts all inhibitions.                        :
  129. :--------------------------------|---------------------------------------------:
  130.  
  131. DontRun: dummy progpath
  132. MenuTxt: Can't install TSR in FH!
  133. Connect: *mous*.com;*mous*.exe;smartdrv.exe;ramdrive.exe;mscdex.exe
  134.  
  135.  
  136. :------------------------------------------------------------------------------:
  137. : The EDIT groups (File_Handle rebuilds current dir after returning from DOS)  :
  138. :                                                                              :
  139. : Hint: Since Rebuild groups are scanned prior to the internal execute table,  :
  140. :       any *.BAT entered here gets edited instead of executed. Valid examples :
  141. :       are AUTOEXEC.BAT and CONFIG.SYS.                                       :
  142. :--------------------------------|---------------------------------------------:
  143.  
  144. Rebuild: edit %%
  145. MenuTxt: DOS' Edit
  146. Connect: *.c;*.h;+
  147.          *.asm;*.bas;*.pas;*.mod;*.cpp;*.cxx;*.slt;+
  148.          *.txt;*.doc;*.lst;*.bak;+
  149.          *.cb;*.m;+
  150.          config.sys;+
  151.          *.bat;*.btm
  152.  
  153. : Removal of the colons in front of either or all of these next groups will
  154. : result in File_Handle presenting a menu of these word processors when a DOC
  155. : or TXT file is 'executed'. (The group above also supports these extensions).
  156.  
  157. :Rebuild: edit %%
  158. :MenuTxt: DOS' Edit
  159. :Connect: *.txt;*.doc
  160.  
  161. :Rebuild: wp %%
  162. :MenuTxt: Word Perfect
  163. :Connect: *.txt;*.doc
  164.  
  165. :Rebuild: word %%
  166. :MenuTxt: Microsoft Word
  167. :Connect: *.txt;*.doc
  168.  
  169.  
  170. :------------------------------------------------------------------------------:
  171. : The SHOW-ONLY groups (File_Handle does not rebuild after returning from DOS) :
  172. :--------------------------------|---------------------------------------------:
  173.  
  174. : Graphic files examples
  175.  
  176. :Show   : c:\util\vpic.exe %% /a
  177. :MenuTxt: Vpic Viewer
  178. :Connect: *.bif;*.bmp;*.cut;*.gif;*.lbm;*.mac;*.pcx;*.pic;*.tga
  179.  
  180. : Moving Graphics
  181.  
  182. :Show   : c:\util\quickfli %%
  183. :MenuTxt: Play Quickfli
  184. :Connect: *.fli
  185.  
  186. : An ASCII viewer example
  187.  
  188. Show   : edit %%
  189. MenuTxt: Generic ASCII Viewer
  190. Connect: *.bat;*.sys;*.diz;fh_exec.arf
  191.  
  192. : An hex viewer example
  193.  
  194. :Show   : c:\util\hexdump %%
  195. :MenuTxt: Generic Hex Viewer
  196. :Connect: *.obj;*.sys;*.pif;*.ico;*.cfg;*.cnf
  197.  
  198. : Viewer for VENDINFO.DIZ files
  199.  
  200. Show   : vendview.exe %%
  201. MenuTxt: VENDINFO viewer
  202. Connect: vendinfo.diz
  203.  
  204. : Sound-files examples
  205.  
  206. :Show   : c:\util\plany.exe %%
  207. :MenuTxt: Play Any
  208. :Connect: *.wav;*.voc
  209.  
  210. :Show   : c:\util\mp.exe %%
  211. :MenuTxt: Play MOD files
  212. :Connect: *.mod
  213.  
  214. :Show   : c:\util\midiplay.exe %%
  215. :MenuTxt: Play Midi Melodies
  216. :Connect: *.mid
  217.  
  218. :------------------------------------------------------------------------------:
  219. : The UNARCHIVE groups                                                         :
  220. :--------------------------------|---------------------------------------------:
  221.  
  222. Extract: pkunzip -e -d %% %%
  223. MenuTxt: Pkware's Pkunzip
  224. Connect: *.zip
  225.  
  226. Extract: pkunpak -x %% %%
  227. MenuTxt: Pkware's ARC
  228. Connect: *.arc
  229.  
  230. : !! SEA's unarchiver cannot extract to another path. Choose CURRENT only!
  231.  
  232. :Extract: arc x %%
  233. :MenuTxt: SEA's ARC (Current Dir!)
  234. :Connect: *.arc
  235.  
  236. Extract: arj x %% %%
  237. MenuTxt: Jung's ARJ
  238. Connect: *.arj
  239.  
  240. Extract: lha x %% %%
  241. MenuTxt: Yoshizaki's LeHarc
  242. Connect: *.lzh
  243.  
  244. :Extract: ice x -x %% %%
  245. :MenuTxt: Melt the ICE
  246. :Connect: *.ice
  247.  
  248. :Extract: uc ES %% #%%
  249. :MenuTxt: Ultra Compressor 2
  250. :Connect: *.uc2
  251.  
  252.  
  253. :------------------------------------------------------------------------------:
  254. : Miscellaneous groups (Provided as examples, some untested)                   :
  255. :--------------------------------|---------------------------------------------:
  256.  
  257. : Process dBase files
  258.  
  259. :Rebuild: c:\db4\dbase.exe %%
  260. :MenuTxt: dBase IV database
  261. :Connect: *.dbf
  262.  
  263. : View dBase files
  264.  
  265. :Show   : c:\util\dbv.exe %%
  266. :MenuTxt: dBase Viewer
  267. :Connect: *.dbf;
  268.  
  269. : Build code with MAKE utility
  270.  
  271. :Rebuild: c:\bin\make %%
  272. :MenuTxt: Make utility
  273. :Connect: *.mak
  274.  
  275. : Offer choice of running or editing batch files (*.bat;*.btm must also be in
  276. : an edit group)
  277.  
  278. Rebuild: %%
  279. MenuTxt: DOS' command processor
  280. Connect: *.bat;*.btm
  281.  
  282. Rebuild: qbasic.exe %%
  283. MenuTxt: Microsoft Qbasic
  284. Connect: *.bas
  285.  
  286. : Internet file mail conversion
  287.  
  288. :Rebuild: uudecode %%
  289. :MenuTxt: Decode Internet file mail
  290. :Connect: *.uue
  291.  
  292. :Rebuild: uuencode -s %%
  293. :MenuTxt: Encode Internet file mail
  294. :Connect: arfmenu.@@@
  295.